namespace Jumpton.SFA.Server.Entity {
    using System;
    using System.Collections.Generic;
    using System.Text;
    using Jumpton.Persistent;
    using System.Data;
    using System.Runtime.Serialization;
    
    
    [System.SerializableAttribute()]
    [Map("MOBILE_USERS")]
    public class MOBILE_USERS : ObjectRow {
        
        public MOBILE_USERS() {
        }
        
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="dataRow">DataTable 中的一行数据</param>
        /// <param name="objectTable">存储当前对象的数据表格</param>
        public MOBILE_USERS(System.Data.DataRow dataRow, ObjectTable parent) : 
                base(dataRow, parent) {
        }
        
        /// <summary>
        /// 供反序列化使用的构造函数
        /// </summary>
        /// <param name="info"></param>
        /// <param name="context"></param>
        protected MOBILE_USERS(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                base(info, context) {
        }
        
        [Key("USER_ID")]
        public decimal USERID {
            get {
                return (System.Decimal)GetValue("USERID");
            }
            set {
                SetValue("USERID", value);
            }
        }
        
        [Field("TYPE")]
        public decimal TYPE {
            get {
                return (System.Decimal)GetValue("TYPE");
            }
            set {
                SetValue("TYPE", value);
            }
        }
       
        
        //[Field("USER_PROD_LIST_ID")]
        //public decimal USERPRODLISTID {
        //    get {
        //        return decimal.Parse(GetValue("USERPRODLISTID",0).ToString());
        //    }
        //    set {
        //        SetValue("USERPRODLISTID", value);
        //    }
        //}
        
        [Field("GEO_LEVEL_CODE")]
        public string GEOLEVELCODE {
            get {
                return (System.String)GetValue("GEOLEVELCODE");
            }
            set {
                SetValue("GEOLEVELCODE", value);
            }
        }
        
        //[Field("USER_ORDER_PAD_LIST_ID")]
        //public decimal USERORDERPADLISTID {
        //    get {
        //        return (System.Decimal)GetValue("USERORDERPADLISTID");
        //    }
        //    set {
        //        SetValue("USERORDERPADLISTID", value);
        //    }
        //}
        
        [Field("DOMAIN_ID")]
        public decimal DOMAINID {
            get {
                return (System.Decimal)GetValue("DOMAINID");
            }
            set {
                SetValue("DOMAINID", value);
            }
        }

       

       

       

        [Field("NEXT_NUMBER")]
        public decimal NEXTDATE {
            get {
                return (System.Decimal)GetValue("NEXTDATE");
            }
            set {
                SetValue("NEXTDATE", value);
            }
        }
        
       
        
        [Field("VAN_PERCENTAGE")]
        public decimal VANPERCENTAGE {
            get {
                return (System.Decimal)GetValue("VANPERCENTAGE");
            }
            set {
                SetValue("VANPERCENTAGE", value);
            }
        }
        
        [Field("VAN_DEFAULT_LOAD_PROFILE_ID")]
        public decimal VANDEFAULTLOADPROFILEID {
            get {
                return (System.Decimal)GetValue("VANDEFAULTLOADPROFILEID");
            }
            set {
                SetValue("VANDEFAULTLOADPROFILEID", value);
            }
        }
        
        [Field("SHIP_FROM_LOCATION_CODE")]
        public string SHIPFROMLOCATIONCODE {
            get {
                return (System.String)GetValue("SHIPFROMLOCATIONCODE");
            }
            set {
                SetValue("SHIPFROMLOCATIONCODE", value);
            }
        }
        
        [Field("BRACKET_CODE")]
        public string BRACKETCODE {
            get {
                return (System.String)GetValue("BRACKETCODE");
            }
            set {
                SetValue("BRACKETCODE", value);
            }
        }
        
        [Field("NEXT_INVOICE_number")]
        public decimal NEXTINVOICEDATE {
            get {
                return (System.Decimal)GetValue("NEXTINVOICEDATE");
            }
            set {
                SetValue("NEXTINVOICEDATE", value);
            }
        }
        
        [Field("NEXT_RECEIPTS_number")]
        public decimal NEXTRECEIPTSDATE {
            get {
                return (System.Decimal)GetValue("NEXTRECEIPTSDATE");
            }
            set {
                SetValue("NEXTRECEIPTSDATE", value);
            }
        }
        
        [Field("NEXT_DOWN_DOC_number")]
        public decimal NEXTDOWNDOCDATE {
            get {
                return (System.Decimal)GetValue("NEXTDOWNDOCDATE");
            }
            set {
                SetValue("NEXTDOWNDOCDATE", value);
            }
        }
        
        [Field("NEXT_UP_DOC_number")]
        public decimal NEXTUPDOCDATE {
            get {
                return (System.Decimal)GetValue("NEXTUPDOCDATE");
            }
            set {
                SetValue("NEXTUPDOCDATE", value);
            }
        }
        
        [Field("NEXT_UNLOAD_number")]
        public decimal NEXTUNLOADDATE {
            get {
                return (System.Decimal)GetValue("NEXTUNLOADDATE");
            }
            set {
                SetValue("NEXTUNLOADDATE", value);
            }
        }
        
        [Field("BRACKET_ID")]
        public decimal BRACKETID {
            get {
                return (System.Decimal)GetValue("BRACKETID");
            }
            set {
                SetValue("BRACKETID", value);
            }
        }
        
        [Field("DF_TYPE")]
        public decimal DFTYPE {
            get {
                return (System.Decimal)GetValue("DFTYPE");
            }
            set {
                SetValue("DFTYPE", value);
            }
        }
 

      

       

    }
}
